const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  username(state) {
    return state.user.userInfo.data.username
  },
  staffPhoto: state => state.user.userInfo.data.staffPhoto,
  name: state => state.user.userInfo.data.name
}
export default getters
